package io.renren.modules.bookManagement.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 图书管理
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2022-12-10
 */
@Data
@ApiModel(value = "图书管理")
public class BooksDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "书名")
	private String name;

	@ApiModelProperty(value = "图书Id")
	private Long id;

	@ApiModelProperty(value = "书封面")
	private String image;

	@ApiModelProperty(value = "出版社名称")
	private String publishname;

	@ApiModelProperty(value = "等级ID")
	private Long levelid;

	@ApiModelProperty(value = "出版时间")
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	private Date publishtime;

	@ApiModelProperty(value = "流程状态")
	private Integer status;

	@ApiModelProperty(value = "介绍")
	private String detail;

	@ApiModelProperty(value = "上传人员ID")
	private Long userid;


}